package com.huang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huang.enums.AreaTaskStatusEnums;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName area_task
 */
@Data
@Accessors(chain = true)
@TableName(value ="area_task")
public class AreaTask implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 发起人
     */
    private String userId;

    /**
     * 状态 0 未采集  1已采集未解析  2已解析
     */
    private AreaTaskStatusEnums status;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}